/*字体*/
@font-face {
    font-family: 'anticon';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../font/iconfont.woff') format('woff'),
    url('../font/iconfont.ttf') format('truetype'),
    url('../font/iconfont.svg#anticon') format('svg');
}


/*header和footer部分*/
.anticon{
    font-family:"anticon" !important;
    min-width: 14px;
    margin-right: 8px;
}
.logo {
    display: flex;
    align-items:center;
}
.logo img {
    width: 48px;
    height: 48px;
}
.logo span {
    font-size:24px;
    padding-left: 5px;
}
.footer {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.register{
    float: right !important;
}
.ant-menu-horizontal > .ant-menu-item > a, .ant-menu-horizontal > .ant-menu-submenu > a
{
    display: inline-block !important;
}


/*PCNewsContainer 新闻主体部分*/
#header {
    margin-bottom: 20px;
}
.container{
    padding-top: 10px;
}
.leftContainer {
    width: 400px;
    float: left;
}

.carousel {
    width: 400px;
    float: left;
}


/*PCNewsBlock 新闻列表*/
.tabs_news {
    margin-left: 10px;
    width: 460px;
    float: left;
}
.topNewsList {
    width: 100%;
    text-align: left;
}
.tabs_news li {
    height: 27px;
    line-height: 27px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topNewsList a {
    line-height: 27px !important;
    color: #666 !important;
}
.ant-tabs-bar {
    margin-bottom: 5px !important;
}


/*PCImageNewsBlock 新闻缩略图*/
.topNewsImage {
    float: left;
    margin-top: 20px;
}
.topNewsImage .imageblock {
    float: left;
    margin-right: 4px;
    margin-bottom: 10px;
}

.topNewsImage .imageblock > a {
    color: #666;
}

.topNewsImage .imageblock > a:hover {
    color: #2db7f5;
}

/*详情页*/
#PCNewsDetails .topNewsImage  {
    float: right;
    margin-top: 10px;
    width: 300px;
}
#PCNewsDetails .topNewsImage .imageblock {
    margin: 0;
}
#PCNewsDetails .topNewsImage .imageblock:nth-child(odd){
    margin-right: 24px;
}
#PCNewsDetails .topNewsImage .ant-card-body {
    overflow: hidden;
}

#PCNewsDetails #comment {
    margin-top: 2rem;
}


/*个人中心*/
#userCenter .comment .ant-card,
#userCenter .collection .ant-card {
    margin-bottom: .5rem;
}

/*PCImageNewsBlock-bottom 新闻缩略图*/
.PCImageNewsBlock-bottom .topNewsImage .imageblock {
    margin: 0;
    margin-bottom: 24px;
    margin-right: 25px;
}
.PCImageNewsBlock-bottom .ant-card-body {
    padding-right: 0;
}
.ant-card-bordered {
    width: 100%;
}

/**网易代码引入演示**/

.tabs_product .ant-tabs-content{
    width: 248px;
}

.tabs_product .ant-tabs-bar {
    width: 248px;
}
.tabs_product {
    float: right;
}
.productlinks {
    width: 248px;
    margin-top: 6px;
    background: #F7F7F7;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.productlinks-item {
    text-align: left;
    float: left;
    width: 248px;
    position: relative;
    z-index: 1;
    padding: 13px 0 13px 10px;
    line-height: 25px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.productlinks-i {
    text-indent: -10em;
}

.productlinks-item strong {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    margin-top: -20px;
    overflow: hidden;
    width: 40px;
    height: 40px;
}

.productlinks-item a {
    padding: 0 4px 0 0;
    white-space: nowrap;
}

.productlinks-item .last, .productlinks-item .pr0 {
    padding: 0;
}

.productlinks-item .pr2 {
    padding-right: 2px;
}

.changeview .productlinks-item {
    padding: 4px 0 3px 50px;
}

.changeview .productlinks {
    height: 300px;
    margin-top: 56px;
}

.item-mail, .item-sns {
    background: #fff;
}

.productlinks-i-mail, .productlinks-i-game, .productlinks-i-sns, .productlinks-i-recommend {
    width: 40px;
    height: 40px;
    text-indent: -10em;
    position: absolute;
    z-index: 3;
}

.productlinks-i-mail {
    background-position: 12px -167px;
}

.productlinks-i-game {
    background-position: 7px -217px;
}

.productlinks-i-sns {
    background-position: 12px -262px;
}

.productlinks-i-recommend {
    background-position: 12px -308px;
}

.ntes-nav-select-unfold .productlinks-mail-fold {
    display: block;
}

.productlinks-mail-fold {
    position: absolute;
    z-index: 100;
    width: 118px;
    height: 154px;
    top: -163px;
    left: -36px;
    display: none;
    background: url(http://img2.cache.netease.com/www/v2013/img/bg_fmail_v3.png) left top no-repeat;
}

.productlinks-mail-warp {
    position: relative;
    z-index: 100;
    background: none;
}

.productlinks-fold-163, .productlinks-fold-126, .productlinks-fold-yeah, .productlinks-fold-mob {
    float: left;
    display: inline;
    width: 116px;
    height: 34px;
    text-indent: -100em;
    overflow: hidden;
    margin-left: 1px;
    margin-bottom: 1px;
}

.productlinks-fold-163 {
    margin-top: 1px;
}

